package com.cdshangpai.utils.db.beans;

import android.content.ContentValues;

import com.cdshangpai.utils.offlinecache.base.slot.AdvantagephotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.CasephotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.ChargesphotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.DocumentphotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.HomePhotoPicker;
import com.cdshangpai.utils.offlinecache.base.slot.IdPicker;
import com.cdshangpai.utils.offlinecache.base.slot.IdeaPhotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.LetterphotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.PhotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.ProcessphotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.PromotionphotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.ServicePhotosPicker;
import com.cdshangpai.utils.offlinecache.base.slot.VersionPicker;

import lombok.Data;

//关于我们数据
@Data
public class Aboutus implements IdPicker, VersionPicker, PhotosPicker, HomePhotoPicker,
        IdeaPhotosPicker ,ServicePhotosPicker, AdvantagephotosPicker, CasephotosPicker,ChargesphotosPicker, PromotionphotosPicker, LetterphotosPicker, ProcessphotosPicker, DocumentphotosPicker {
    public Integer id;
    public String content;
    public String photos;//公司介绍
    public String homephotos;//首页图片
    public String area;

    public String ideaphotos;//婚礼理念
    public String servicephotos;//服务内容
    public String advantagephotos;//启蔻优势
    public String casephotos;//现场vs妨碍
    public String chargesphotos;//收费标准
    public String promotionphotos;//近期优惠
    public String letterphotos;//第一封信
    public String processphotos;//服务流程
    public String documentphotos;//相关文档




    public String version;
    public String photoUrls;
    public String homephotoUrls;
    public String ideaphotoUrls;
    public String servicephotoUrls;
    public String advantagephotoUrls;
    public String casephotoUrls;
    public String chargesphotoUrls;
    public String promotionphotoUrls;
    public String letterphotoUrls;
    public String processphotoUrls;
    public String documentphotoUrls;


    public ContentValues getValues()
    {
        ContentValues values=new ContentValues();
        values.put("id",id);
        values.put("content",content);
        values.put("area",area);
        values.put("photos",photos);
        values.put("homephotos",homephotos);
        values.put("ideaphotos",ideaphotos);
        values.put("servicephotos",servicephotos);
        values.put("advantagephotos",advantagephotos);
        values.put("casephotos",casephotos);
        values.put("chargesphotos",chargesphotos);
        values.put("promotionphotos",promotionphotos);
        values.put("letterphotos",letterphotos);
        values.put("processphotos",processphotos);
        values.put("documentphotos",documentphotos);
        values.put("version",version);
        return values;
    }

    @Override
    public String getHomePhotosUrl() {
        return homephotoUrls;
    }

    @Override
    public String getHomePhotos() {
        return homephotos;
    }

    @Override
    public void setHomePhotos(String homephotos) {
        this.homephotos=homephotos;
    }

    @Override
    public String getPhotosUrl() {
        return photoUrls;
    }
}
